package com.example.android.network.service;

import com.example.android.bean.SearchHB;

import java.util.List;

import io.reactivex.rxjava3.core.Flowable;
import okhttp3.RequestBody;
import retrofit2.http.Body;
import retrofit2.http.GET;
import retrofit2.http.POST;
import retrofit2.http.Path;

public interface HBService {
    @POST("serchhbservice/tbHbBasis/addHbBasis")
    Flowable<Boolean> addHB(@Body RequestBody body);

    @GET("serchhbservice/tbHbBasis/getHbBasis/{hbId}")
    Flowable<List<SearchHB>> getHBDetail(@Path("hbId")int hbId);
}
